<table cellpadding="0" cellspacing="0" border="0" class="metrotable" id="summary_table">
    <thead>
        <tr>
            <th class="head0 nolborder"><input type="checkbox" class="selectAll">全选</th>
            <th class="head0 nolborder" style="width:25%;" >宝贝标题</th>
            <th class="head1">状态</th>
            <th class="head1">展现量</th>
            <th class="head0">点击量</th>
            <th class="head1">点击率</th>
            <th class="head1">单次点击花费</th>
            <th class="head1">千次展现花费</th>
            <th class="head1">花费</th>
            <th class="head0">销售额</th>
            <th class="head1">投入产出比</th>
            <th class="head0 norborder">操作</th>
        </tr>
    </thead>

    <tbody id="campaign_body">
        <volist name="adgroups" id="v">
        <tr class="gradeX" id="adgroup_{$v.adgroup_id}">
            <td>
                <input type="checkbox" class="check" name="check[]" value="{$v.adgroup_id}">
            </td>
            <td class="nolborder">
	           <ul class="listview">
                    <li>
                        <div class="icon">
                            <img src="{$v.img_url}">
                        </div>
                        <div class="data">
                            <h4><a href="/adgroup/manage?adgroup_id={$v.adgroup_id}">{$v.title}</a></h4>
                            <div class="field">
                                <span class="label <if condition='$v.drive_type eq 1'>label-warning</if>">推广类型:{$v.drive_type_str}</span>
                            </div>
                        </div>
                    </li>
	           </ul> 
               <span><strong class="red deleteInfo"></strong></span>
            </td>
           	<td>
           		<if condition="$v.online_status eq 'online' && $v.offline_type eq 'online'">
           		<span class="online_status label label-success">{$v.status_str}</span>
           		<else/>
           		<a class="label online_status tooltips" title="{$v.reason}">{$v.status_str}</a>
           		</if>
           	</td>
            <td>
                汇总：{$v.summary.impressions}<br>
                计算机：{$v.pc.impressions}<br>
                无线：{$v.wireless.impressions}
            </td>
            <td>
                {$v.summary.click}<br>
                {$v.pc.click}<br>
                {$v.wireless.click}
            </td>
            <td class="center">
                {$v.summary.ctr}%<br>
                {$v.pc.ctr}%<br>
                {$v.wireless.ctr}%
            </td>
            <td>
                ￥{$v.summary.cpc}<br>
                ￥{$v.pc.cpc}<br>
                ￥{$v.wireless.cpc}
            </td>
            <td>
                ￥{$v.summary.cpm}<br>
                ￥{$v.pc.cpm}<br>
                ￥{$v.wireless.cpm}
            </td>
            <td  class="center ">
                <span class="orange">￥{$v.summary.cost}</span><br>
                <span class="orange">￥{$v.pc.cost}</span><br>
                <span class="orange">￥{$v.wireless.cost}</span>
            </td>
            <td>
                <span class="orange">￥{$v.summary.sales}</span><br>
                <span class="orange">￥{$v.pc.sales}</span><br>
                <span class="orange">￥{$v.wireless.sales}</span>
            </td>
            <td >
                <span class="heavy">{$v.summary.roi}</span><br>
                <span class="heavy">{$v.pc.roi}</span><br>
                <span class="heavy">{$v.wireless.roi}</span>
            </td>
            <td class="center norborder">
            	<if condition="$v.online_status eq 'online'">
	               <a class="btn btn3 btn-nobg btn_pause_s openUrlBtn tooltips pauseadgroup" href="javascript:void(0);"  data-url="/adgroup/pause?adgroup_id={$v.adgroup_id}&action=offline" title="暂停推广组">暂停</a>
	           <else/>
	               <a class="btn btn3 btn-nobg btn_start_s openUrlBtn tooltips pauseadgroup" href="javascript:void(0);"  data-url="/adgroup/pause?adgroup_id={$v.adgroup_id}&action=online" title="启动推广组">启动</a>
	           </if>
	           <a class="btn btn3 btn-nobg btn_trash_s deladgroup tooltips" title="删除这个推广组" href="javascript:void(0);"  data-url="/adgroup/remove?adgroup_id={$v.adgroup_id}">删除</a>
	           <a class="btn btn3 btn-nobg btn_settings3_s openUrlBtn tooltips" href="/adgroup/manage?adgroup_id={$v.adgroup_id}" title="设置推广组详情">查看</a>
	        </td>
        </tr>
        </volist>
    </tbody>
</table>